package Command;

public class OpenLightCommand implements ICommand{
    private Light light;

    public OpenLightCommand(Light light)
    {
        this.light=light;
    }

    @Override
    public void execute() {
        light.openLight();
    }
}
